package cn.rkylin.oms.warehouse.stockin.vo;

import java.math.BigDecimal;

import cn.rkylin.oms.warehouse.stockin.domain.StockInGoods;

/**
 * 入库商品VO
 * 
 * @author 齐涛
 * @version 1.0
 * @created 11-9-2017 10:51:30
 */
public class StockInGoodsVO extends StockInGoods {

    // 入库金额
    private BigDecimal purcAmount;

    // 排序
    private String orderBy;

    public BigDecimal getPurcAmount() {
        return (this.getPurcPrice().multiply(new BigDecimal(this.getQty())));
    }

    public void setPurcAmount(BigDecimal purcAmount) {
        this.purcAmount = purcAmount;
    }

    public String getOrderBy() {
        return orderBy;
    }

    public void setOrderBy(String orderBy) {
        this.orderBy = orderBy;
    }

}
